// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from "vue";
import App from "./App";
import router from "./router/router.config";
import store from "./store/index";
import VueWechatTitle from "vue-wechat-title";
import dayjs from "dayjs";


import Vant from "vant";
import "vant/lib/index.css";
Vue.use(Vant);
Vue.use(VueWechatTitle);

Vue.prototype.dayjs = dayjs;
Vue.config.productionTip = false;
import axios from "./http";

import VueJsonp from "vue-jsonp";
Vue.use(VueJsonp);

/* eslint-disable no-new */
new Vue({
  el: "#app",
  router,
  store,
  axios,
  components: { App },
  template: "<App/>"
});
